.PHONY:all
all:ServerCald ClientCal

Lib=-ljsoncpp
Def=#-DMyself=1

ServerCald:ServerCal.cc
	g++ -o $@ $^ -std=c++11	$(Lib) $(Def)

ClientCal:ClientCal.cc
	g++ -o $@ $^ -std=c++11	$(Lib) $(Def)

.PHONY:clean 
clean:
	rm -rf ServerCald ClientCal